package com.library.cx.into;

public class Libary {
    private Integer id;//编号

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    private String bookName;//书名
    private String typeName;//书籍分类
    private String author;//作者
    private Integer sum;//数量
    private Integer price;//价格
    private String location;//书籍位置
    private String source;//书籍来源
    private String jdate;//加入时间

    public Libary(Integer id, String bookName, String typeName, String author, Integer sum, Integer price, String location, String source, String jdate) {
        this.id=id;
        this.bookName = bookName;
        this.typeName = typeName;
        this.author = author;
        this.sum = sum;
        this.price = price;
        this.location = location;
        this.source = source;
        this.jdate = jdate;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getJdate() {
        return jdate;
    }

    public void setJdate(String jdate) {
        this.jdate = jdate;
    }
}
